export enum ReceivingMethod {
  DELIVERY = '1', // 配送
  SHOP_EAT = '2', // 店食
  SELF_PICKUP = '3' // 自提
}

export function receivingMethodLabelOf(value?: string): string {
  if (value === ReceivingMethod.DELIVERY) return '配送'
  if (value === ReceivingMethod.SHOP_EAT) return '店食'
  if (value === ReceivingMethod.SELF_PICKUP) return '自提'
  return ''
}
